package com.wr.online.test.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.wr.online.test.model.entity.Paper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface PaperMapper extends MPJBaseMapper<Paper> {


    @Update("update paper set state = #{state} where paper_id = #{id}")
    Integer changeState(Integer id,Integer state);

}
